package com.orange.cloud.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @Authoer Administrator
 * @Descrption
 * @Date 2021/2/6
 */
@Getter
public enum TaskStausEnum {
    P1("P1","发布"),
    W1001("W1001","已领取"),
    C1001("C1001","成功结束"),
    C1002("C1002","失败结束");

    @EnumValue
    @JsonValue
    private String code;
    private String desc;

    TaskStausEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
